package com.czxy.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 求职者信息表
 * </p>
 *
 * @author xuewen
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TbCandidates对象", description="求职者信息表")
public class TbCandidates implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "生日")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;

    @ApiModelProperty(value = "照片 ")
    private String photo;

    @ApiModelProperty(value = "期望薪资")
    private Integer wantSalary;

    @ApiModelProperty(value = "期望职业id")
    private Integer occupationId;

    @ApiModelProperty(value = "自我介绍")
    private String selfIntroduction;

    @ApiModelProperty(value = "头像")
    private String portrait;

    private Integer gender;

    private String phone;

    private String idNum;

    private Integer cityId;
    private String address;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @TableField(exist = false)
    private TbOccupation tbOccupation;

    @TableField(exist = false)
    private TbUser tbUser;
    @TableField(exist = false)
    private TbCity tbCity;


}
